<!DOCTYPE html>
<html>
<head>
        <title>{% block title %}{% endblock %}{{ SITENAME }}</title>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0">

        <link rel="stylesheet" type="text/css" href="/css/extlib/reset.css"/>
        <link rel="stylesheet" type="text/css" href="/css/extlib/text.css"/>
        <link rel="stylesheet" type="text/css" href="/css/extlib/960_16_col.css"/>
        <link rel="stylesheet" type="text/css" href="/css/base.css"/>


        <!-- <link rel="stylesheet" href="theme/css/main.css" type="text/css" /> -->

        {% if FEED_ALL_ATOM %}
        <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
        {% endif %}
        {% if FEED_ALL_RSS %}
        <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
        {% endif %}
        <link rel="shortcut icon" href="/images/goblin.ico" />

<!--
<rdf:RDF xmlns="http://web.resource.org/cc/"
         xmlns:dc="http://purl.org/dc/elements/1.1/"
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<Work rdf:about="http://mediagoblin.org/">
<dc:title>GNU MediaGoblin</dc:title>
<dc:description></dc:description>
<license rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/" />
</Work>
<License rdf:about="http://creativecommons.org/licenses/by-sa/3.0/">
</License>
</rdf:RDF>
-->

<script type="text/javascript" src="/js/extlib/video-js/video.js"></script>
<!-- Sadly commented out till we can get the mediagoblin skin ported over
 to the newest video.js release ;\

   <link href="/static/css/vjs-mg-skin.css"
         rel="stylesheet">
-->
<link rel="stylesheet" type="text/css" href="/js/extlib/video-js/video-js.css">

<style type="text/css">
  .vjs-default-skin .vjs-big-play-button
  {
    top: 50%;
    left: 50%;
    margin: -1.5em auto auto -2em;
  }
  .vjs-play-progress, .vjs-volume-level {
    background-color: #86D4B1 !important;
  }
</style>

</head>

<body id="index">
  <div class="mediagoblin_body">
    <div class="container_16">
      <div class="grid_16 mediagoblin_header">
        <a class="mediagoblin_logo" href="/"><img src="/images/logo.png"
                                                  alt="MediaGoblin logo" /></a>

        <div class="mediagoblin_header_right">
          <a href="/news/">news</a> &middot;
          <a href="/pages/tour.html">tour</a> &middot;
          <a href="/pages/join.html">community</a> &middot;
          <a href="https://wiki.mediagoblin.org/">wiki</a> &middot;
          <a href="https://issues.mediagoblin.org/">bug tracker</a> &middot;
          <a href="https://savannah.gnu.org/projects/mediagoblin">git repository</a>
          {% if output_file == "pages/campaign.html" %}
            <a href="https://crm.fsf.org/civicrm/contribute/transact?reset=1&id=36" class="campaign_donate"><img src="/images/campaign/heart.png" alt="<3" />Donate...</a>
          {% else %}
            <a href="/pages/campaign.html" class="campaign_donate"><img src="/images/campaign/heart.png" alt="<3" />Donate...</a>
          {% endif %}
        </div>

      </div>
    </div>


    <div class="container_16 mediagoblin_content">
      {# The campaign is overrrrrr #}
      {#
      {% if not output_file == "pages/campaign.html" %}
        <!-- begin campaign banner -->
        {% include "fundraiser_bar.html" %}
        <!-- end campaign banner -->
      {% endif %}
      #}

      {% block content %}
        {% block flavor_content %}
          {% for entry, template in entry_templates %}
            {% include template %}
          {% endfor %}

          {# <div class="pagination">
           {{ page_navigation|safe }}
          </div> #}
        {% endblock %}
      {% endblock %}
      <div class="clear"></div>
    </div>

    <div class="container_16">
      <div class="grid_16 mediagoblin_footer">
        <p>
          MediaGoblin is released under the <a href="http://www.gnu.org/licenses/agpl.html">GNU AGPLv3</a>. Site design released under <a href="http://creativecommons.org/publicdomain/zero/1.0/">CC0</a>. Get and use the <a href="/pages/logo.html" title="Get and use the MediaGoblin logo">MediaGoblin logo</a>.
        </p>

        {% if not output_file == "pages/campaign.html" %}
          <p class="c">
            <a href="/pages/campaign.html" class="campaign_donate"><img src="/images/campaign/heart.png" alt="<3" />Donate...</a>
          </p>
        {% endif %}
      </div>
    </div>
  </div>
<!-- Piwik -->
<script type="text/javascript">
  var _paq = _paq || [];
  _paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
  _paq.push(["setCookieDomain", "*.mediagoblin.org"]);
  _paq.push(["setDomains", ["*.mediagoblin.org"]]);
  _paq.push(["trackPageView"]);
  _paq.push(["enableLinkTracking"]);

  (function() {
    var u=(("https:" == document.location.protocol) ? "https" : "http") + "://analytic.sx/";
    _paq.push(["setTrackerUrl", u+"piwik.php"]);
    _paq.push(["setSiteId", "8"]);
    var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
    g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s);
  })();
</script>
<!-- End Piwik Code -->
</body>
</html>
